﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Blog.web.helpers
{
    public class func
    {
        public static bool check_loguser(string username,string u)
        {
            try
            {
                if (u == username)
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
            catch
            {

                return false;
            }
        }

        public static bool check_username(string username)
        {
            if (username == "")
                return false;
            return true;
        }
    }
}
